import request from "@/utils/request";

export function listData(params) {
  return request({
    url: `/user-manager/admin-recharge`,
    method: "get",
    params
  });
}
export function adminRechargeList(params) {
  return request({
    url: `/user-manager/admin-recharge`,
    method: "get",
    params
  });
}

export function exportExcel(params) {
  return request({
    url: `/user-manager/admin-recharge/export/excel`,
    method: "get",
    params
  });
}

export function exportExcelAsync(params) {
  return request({
    url: `/user-manager/admin-recharge/export/excel/async`,
    method: "get",
    params
  });
}

export function getAdminList() {
  return request({
    url: "system-set/admin",
    method: "get",
    params: { page: 1, perPage: 10000 }
  });
}
